package com.mallsboot.cloud.api.user.feign.fallback;

import com.mallsboot.cloud.api.user.feign.UserAddrFeignClient;
import com.mallsboot.cloud.common.order.vo.UserAddrVO;
import com.mallsboot.cloud.common.response.ServerResponseEntity;
import org.springframework.stereotype.Component;

@Component
public class UserAddrFallback implements UserAddrFeignClient {

    @Override
    public ServerResponseEntity<UserAddrVO> getUserAddrByAddrId(Long addrId) {
        System.out.println("调用失败，记录需要的地址id为 addrId=" + addrId);
        return null;
    }

}
